package com.woniuxy.microcommonserver.bean.permission_hcz;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission implements Serializable {

  private Integer id;
  private String name;
  private String type;
  private String path;
  private String component;
  private String icon;
  private String perms;
  private Integer pid;
  private List<Permission> children = new ArrayList<>();
}
